package com.service.dao.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 用户存币订单
 *
 * @author xxxx
 * @email xxxx@qq.com
 * @date 2019-11-10 22:06:11
 */
@Data
@TableName("hm_order_product_lock_combo")
public class OrderProductLockCombo implements Serializable {
	private static final long serialVersionUID = 1L;

	@TableId
	private Integer id;

	private String lockNo;
	/**
	 * 存币用户Id
	 */
	private Integer memberId;
	/**
	 * 存币业务id
	 */
	private String lockComboId;

	private Integer coinsId;

	private String coinsName;
	/**
	 * 存币数量
	 */
	private BigDecimal lockNum;

	/**
	 * 存币天数
	 */
	private Integer lockDay;
	/**
	 * 支付方式(1:usdt全付，2:usdt+usdf)
	 */
	private Integer payTypeGroup;
	/**
	 * 支付方式(1:usdt全付，2:usdt+usdf)
	 */
	private Integer orderType;
	/**
	 * 支付时间
	 */
	private Date payTime;
	/**
	 * 订单状态  0未支付 1已支付 2已支付生效 3已完成(已发货) 4未支付过期订单(下单后30分钟内未支付)
	 */
	private Integer orderStatus;

	private Integer orderSource;
	/**
	 * 收益累计
	 */
	private BigDecimal totalIncome;
	/**
	 * 年利率，单位:%
	 */
	private BigDecimal yearInterestRate;
	/**
	 * 每日利率，单位:%
	 */
	private BigDecimal dailyInterestRate;

	/**
	 * 状态 0-正常 1-已结束
	 */
	private Integer lockStatus;

	private Date startTime;

	private Date endTime;

	private Date createTime;

	private Date updateTime;
}
